package com.shop.myweb.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shop.myweb.entity.User;
import com.shop.myweb.mapper.GoodsMapper;
import com.shop.myweb.mapper.UserMapper;
import com.shop.myweb.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 11098
 * @description 针对表【user(用户信息)】的数据库操作Service实现
 * @createDate 2023-04-23 19:43:24
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
        implements UserService {


     @Autowired
    private UserMapper userMapper;

    @Override
    public User queryUser(String username) {
        return userMapper.queryUser(username);
    }
}




